package com.imooc.newretail.smartcabinet.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 智能柜信息表
 * </p>
 *
 * @author Hank
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("IOT_SMART_CABINET")
@ApiModel(value="IotSmartCabinet对象", description="智能柜信息表")
public class IotSmartCabinet implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键")
    @TableId("CABINET_ID")
    private String cabinetId;


    @ApiModelProperty(value = "机身号")
    @TableField("BODY_NUM")
    private String bodyNum;


    @ApiModelProperty(value = "网管地址")
    @TableField("GATEWAN_SN")
    private String gatewanSn;


    @ApiModelProperty(value = "设备状态：0可用,1不可用")
    @TableField("STATE")
    private String state;


    @ApiModelProperty(value = "所在省份")
    @TableField("PROVINCE")
    private String province;


    @ApiModelProperty(value = "所在城市")
    @TableField("CITY")
    private String city;


    @ApiModelProperty(value = "所在区域")
    @TableField("AREA")
    private String area;


    @ApiModelProperty(value = "所在地址")
    @TableField("ADDRESS")
    private String address;


    @ApiModelProperty(value = "经度")
    @TableField("LONGITUDE")
    private BigDecimal longitude;


    @ApiModelProperty(value = "维度")
    @TableField("LATITUDE")
    private BigDecimal latitude;


    @ApiModelProperty(value = "柜子容量(柜子容量)")
    @TableField("CAPACITY")
    private Integer capacity;


}
